package com.nwpu.vote.control;

import java.util.List;

import com.nwpu.vote.model.*;
import com.nwpu.vote.util.*;

public interface VotePersistent {

	public void save(Vote vote) throws PersistentException;
	public void save(VoteUser user) throws PersistentException;
	public void save(Tag tag) throws PersistentException;
	
	public Vote getVote(String id) throws PersistentException;
	public VoteUser getVoteUser(String id) throws PersistentException;
	public Tag getTag(String id) throws PersistentException;
	
}
